package com.linghang.association.domain;

public class Minister {
    //id可不填
    private Integer id;
    //部长姓名
    private String ministerName;
    //部长性别
    private String ministerGender;
    //部长电话
    private String ministerPhone;
    //部长班级
    private String ministerClass;
    //部长年龄
    private Integer ministerAge;
    //部长照片
    private String ministerPhoto;
    //部长所在部门
    private Integer departmentId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMinisterName() {
        return ministerName;
    }

    public void setMinisterName(String ministerName) {
        this.ministerName = ministerName;
    }

    public String getMinisterGender() {
        return ministerGender;
    }

    public void setMinisterGender(String ministerGender) {
        this.ministerGender = ministerGender;
    }

    public String getMinisterPhone() {
        return ministerPhone;
    }

    public void setMinisterPhone(String ministerPhone) {
        this.ministerPhone = ministerPhone;
    }

    public String getMinisterClass() {
        return ministerClass;
    }

    public void setMinisterClass(String ministerClass) {
        this.ministerClass = ministerClass;
    }

    public Integer getMinisterAge() {
        return ministerAge;
    }

    public void setMinisterAge(Integer ministerAge) {
        this.ministerAge = ministerAge;
    }

    public String getMinisterPhoto() {
        return ministerPhoto;
    }

    public void setMinisterPhoto(String ministerPhoto) {
        this.ministerPhoto = ministerPhoto;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", ministerName=").append(ministerName);
        sb.append(", ministerGender=").append(ministerGender);
        sb.append(", ministerPhone=").append(ministerPhone);
        sb.append(", ministerClass=").append(ministerClass);
        sb.append(", ministerAge=").append(ministerAge);
        sb.append(", ministerPhoto=").append(ministerPhoto);
        sb.append(", departmentId=").append(departmentId);
        sb.append("]");
        return sb.toString();
    }
}